const http = require('http')

// http.createServer((req,res)=>{
//     res.end('OK')
// }).listen(90)


const url = require('url')
const querystring = require('querystring')
http.createServer((req,res)=>{
   const str = querystring.parse(req.url)
   console.log(str)
   const query = url.toString(str)
   console.log(query)
   res.end('123')
}).listen(90)